<%@ Page EnableEventValidation="false" Language="C#" MasterPageFile="app-frame.master" AutoEventWireup="true" CodeFile="Documents.aspx.cs" Inherits="app_frame_documents" validateRequest="false" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server"> 
<form name="tstest">
    <table id="TABLE1" runat="server" width="100%" border="0" cellpadding="0" cellspacing="0">    
    <tr><td><asp:Label ID="lbl_message" runat="server" CssClass="controlFont"></asp:Label></td></tr>
    <tr>
    <td>
    <table width="100%" border="0" cellpadding="3" cellspacing="0" runat="server" id="tblmain">
        <tr>
            <td colspan="2">
       <%--<asp:Label ID="lbl_message" runat="server" CssClass="defaultFont" Font-Size="X-Small"
            ForeColor="Black"></asp:Label>--%></td>
        </tr>
    <tr>
    <td colspan="2" class="Dynamic_PageHeaderRow">
       <span></span><span style="font-size: 10pt;" class="defaultFont">
           <asp:Label ID="lblHeader" runat="server" Text="Documents - Add"></asp:Label></span><br />
       <asp:HiddenField ID="hfRequestURL" runat="server" />
    </td>
    </tr>
    <tr>
    <td style="height: 21px; width: 208px;" valign="top"> 
        <span class="controlLabelFont">&nbsp;Name</span></td>
    <td style="height: 21px; text-align: left;"> 
        <span style="font-size: 10pt;" class="defaultFont"><asp:TextBox ID="p_documents_name" runat="server" Width="200px" CssClass="controlFont"></asp:TextBox>&nbsp;<img src="Images/star.gif" alt="Required Field" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="p_documents_name"
                Display="None" ErrorMessage="This is a required field."></asp:RequiredFieldValidator>&nbsp;
            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="RequiredFieldValidator1"
                WarningIconImageUrl="Images/warning_small.gif" HighlightCssClass="maskInvalid">
            </cc1:ValidatorCalloutExtender>
            <asp:HiddenField ID="p_documents_af_row_id" runat="server" />
        </span></td>
    </tr>
        </table>         
         <table width="100%" border="0" cellpadding="3" cellspacing="0" runat="server" id="tblcontrols">
         <tr>
        <td style="width: 209px" valign="top"> 
            <span class="controlLabelFont">&nbsp;Description</span></td>        
        <td>
            <asp:TextBox ID="p_documents_description" runat="server" Rows="4" TextMode="MultiLine" Width="201px" CssClass="controlFont"></asp:TextBox>
            <asp:HiddenField ID="p_documents_file_size" runat="server" />
            <asp:HiddenField ID="p_documents_download_url" runat="server" />
            <asp:HiddenField ID="p_documents_file_name" runat="server" />
            <asp:HiddenField ID="p_documents_file_type" runat="server" />
            <asp:HiddenField ID="p_documents_related_af_row_id" runat="server" />
        </td><td>
                <span style="font-size: 10pt;" class="defaultFont"></span></td>
    </tr>    
    <tr>
                 <td style="width: 209px; height: 28px">
                     <asp:Label ID="Label2" runat="server" CssClass="controlLabelFont" Text="Owner"></asp:Label></td>
                 <td style="height: 28px" valign="bottom">
                     <asp:DropDownList ID="p_documents_owner_id_dd" CssClass="controlFont" runat="server" Visible="False">
                     </asp:DropDownList>
                     <asp:TextBox ID="txt_p_documents_owner_id" runat="server" CssClass="controlFont"></asp:TextBox>
                     <asp:HiddenField ID="p_documents_owner_id" runat="server" />
                     <img id="imgOwnerSearch" runat="server" alt="Click here for Lookup Window" src="Images/search.gif" class="SearchPopup" onclick="javascript:openlookupwindow('p_documents_owner_id','txt_p_documents_owner_id','f496930dfe0b690f','','');" />
                     </td>
                 <td style="height: 28px">
                 </td>
             </tr>
             <tr>
                 <td style="width: 209px;">
                     <asp:Label ID="lblDetailsCaption" runat="server" Visible="False" CssClass="defaultFont" Font-Size="X-Small"></asp:Label></td>
                 <td>
                     <asp:Label ID="lblDetailsText" runat="server" Visible="False" CssClass="defaultFont" Font-Size="X-Small"></asp:Label></td>
                 <td>
                 </td>
             </tr>
             
    <tr>
        <td style="width: 209px; height: 28px;"> 
            <span class="controlLabelFont">&nbsp;File to Upload</span>
                &nbsp;<span style="font-size: 7pt;" class="defaultFont">(Max Size Limit: 4MB)</span></td>        
        <td style="height: 28px">
            <asp:FileUpload ID="FileUpload1" runat="server" Width="285px" CssClass="controlFont" />
            <asp:Label ID="lblMandatory" runat="server" Text="Label" Visible="False"></asp:Label>&nbsp;
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="FileUpload1"
                Display="None" ErrorMessage="This is a required field." Enabled="False"></asp:RequiredFieldValidator>
            <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender2" runat="server" HighlightCssClass="maskInvalid"
                TargetControlID="RequiredFieldValidator2" WarningIconImageUrl="Images/warning_small.gif">
            </cc1:ValidatorCalloutExtender>
            &nbsp;
            <asp:Label ID="Label1" runat="server" Visible="False" CssClass="defaultFont" Font-Size="X-Small"></asp:Label></td><td style="height: 28px">
                <span style="font-size: 10pt;" class="defaultFont"></span></td>
    </tr>    
             
    </table>
    <table width="100%" border="0" cellpadding="3" cellspacing="0" runat="server" id="tblbtn">
    <tr class="displaygridbottom">
    <td style="height: 26px; width: 208px;"> 
        <span style="font-size: 10pt;" class="defaultFont">
            <asp:Label ID="lblStatusUpload" runat="server" CssClass="defaultFont" Font-Size="X-Small"></asp:Label></span></td>
    <td style="height: 26px; text-align: left;"><input type="submit" value="Save" id="btnSave" runat="server" onserverclick="btnSave_ServerClick" onclick="javascript:disableThis('ctl00_ContentPlaceHolder3_btnSave','Saving....'); showLoad(true);" /><input type="submit" value="Save" id="btnUpdate" runat="server" onserverclick="btnUpdate_ServerClick" onclick="javascript:disableThis('ctl00_ContentPlaceHolder3_btnUpdate','Saving....'); showLoad(false);" /><input type ="button" OnClick="aspnetForm.reset();return false;" value="Reset" id="btnReset" runat="server" onserverclick="btnreset_ServerClick" causesvalidation="false"/></td>
    </tr>    
    </table>   
    </td></tr><tr>        
    <td align="left">
        &nbsp;&nbsp;
    </td>
    </tr>     
  </table>
  </form>
 
  <script language="JavaScript" type="text/javascript" src="scripts/Documents_bottom.js"></script><%--Added by Jayashree on 12-Sep-2014,for js file--%>
 
</asp:Content>
  
